<div class="content_filtro">
    <div class="filtro">
        <form id="form_filtro" method="post" action="">
            <i>Pesquisar</i>
            
            <input type="text" id="filtro_nm" name="filtro_nm" placeholder="Aluno" value="<?php echo $this->filtro_nm?>" />
            
            &nbsp;
            
            <input type="submit" value="buscar" name="buscar" class="btn-pdr">
            
        </form>
    </div>
</div>

<a href="<?php echo $this->url(array('controller' => 'listaaprovacao', 'action' => 'index', 'id' => '')); ?>">Voltar para Lista de Aprovados</a>
<br><br>
<div class="content-list">
    
    <h2><?php echo $this->titulo;?></h2>
    
    <table id="tlist">
        <thead>
            <tr>
                <th>Aluno</th>
                <th>Instituição de Ensino</th>
                <th>Cursos de Graduação</th>
                <th>Ano</th>
                <th>Semestre</th>
                <th>Chamada</th>
                <th class="bc">&nbsp;</th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($this->result as $row) { ?>
                <tr>
                    <td><?php echo $row['ALU_NOM']; ?></td>
                    <td><?php echo $row['FAC_NOM']; ?></td>
                    <td><?php echo $row['CUF_NOM']; ?></td>
                    <td><?php echo $row['APV_ANO']; ?></td>
                    <td><?php echo $row['APV_SEM']; ?></td>
                    <td><?php echo $row['APV_CHM']; ?></td>
                    <td class="bc">
                        <?php if($this->per_edt){?><a class="btn-pdr" target="_blank" href="<?php echo $this->url(array('controller' => 'aluno', 'action' => 'edit', 'id' => $row['ALU_ID'])); ?>">Cadastro</a><?php } ?>
                    </td>
                </tr>
            <?php } ?>
        </tbody>
    </table>
</div>
<?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>